how to find smallest prime palindrome number